package com.example.movie.mate.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.movie.mate.pojo.entity.BookingSeat;
import com.example.movie.mate.pojo.vo.BookingSeatVO;

import java.util.List;

/**
 * 订单座位关联Mapper接口
 */
public interface BookingSeatMapper extends BaseMapper<BookingSeat> {

    int countByPlayScheduleIdAndSeatId(Long playScheduleId, Long seatId);

    List<BookingSeatVO> selectByBookingId(Long bookingId);

}